Skip to content

Conversation

lang-sky
Copy link
Contributor

UNSAFE_willMount() and _loadProps() are removed.

Because of defaultSort set to 'Cat', the 'City' was not appeared even the url search params are empty.
So, added putSearchParams() to componentDidMound().
It makes the url has the search params 'cat' automatically.
Then, even if you type in 'localhost:1234', the url automatically changes to 'localhost:1234/?cat'
Probably it isn't what you want.
Then you need to remove the whole defaultSort params from App.js to Core.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant